/*
 * Created by: 
 * Created: Friday, March 02, 2007
 */

using System;
using System.ComponentModel;
using Dune.Business.Domain.Users;
using Edge.Business.Security;
using Edge.Common.ComponentModel;

namespace Dune.Business.Domain.Application
{
    [Serializable]
    [Description("User")]
    [RelatedType(typeof(User))]
    public class UserHolder : BaseObjectHolder<int, User, IUserManager>
    {
        public UserHolder(User contact)
            : base(contact.Id)
        {

        }
    }

    [Serializable]
    [Description("Person")]
    [RelatedType(typeof(Person))]
    public class PersonHolder : BaseObjectHolder<int, Person, IUserPersonManager>
    {
        public PersonHolder(Person contact)
            : base(contact.Id)
        {

        }
    }
}